====== linksenhanced Plugin ====== ---- plugin ---- description: Enhance internal link syntax by allowing wiki markup in the title author : Andreas Böhler email : dev@aboehler.at type : Syntax lastupdate : 2019-05-29 compatible : Hrun, Greebo depends : conflicts : similar : xtern tags : links, !discontinued downloadurl: https://gitlab.aboehler.at/dokuwiki/linksenhanced/-/archive/main/linksenhanced-main.tar.gz bugtracker : https://gitlab.aboehler.at/dokuwiki/linksenhanced/-/issues sourcerepo : https://gitlab.aboehler.at/dokuwiki/linksenhanced donationurl: screenshot_img : ---- :!: **This plugin is no longer maintained.** This is a simple plugin that allows using Wiki markup within a link title. My use-case was the inclusion of a fontawesome symbol, generated by the fontawesome plugin, as link name. As this wasn't easily possible, I created this plugin. It is at a very early stage in development and not well tested, so please drop me a line if you encounter any problem. It is also possible to check external links for their status. ===== Installation ===== Copy the unzipped folder to your ''/lib/plugins'' directory and activate the plugin. ===== Examples/Usage ===== Whenever you want the link title of any type of link to be passed through the DokuWiki renderer, prepend the URL with ''render^''. Additionally, if you want the plugin to remove any added paragraph, add the word ''noparagraph '' (note the space) in front of it. If you want to check a link for availability, include ''check'' in the list of options or ''check^'' if it's the only option you specify. You can also specify link checking for all links by enabling it in configuration settings and further restrict it to a certain namespace or namespaces, separated by ',' (the namespace setting only has effect when you enable link checking by default, i.e. it narrows it down). If you enable it by default, then your link syntax does not change at all. The link check is indicated by a colored dot in front of the link: * orange = checking or unknown, * green = online, * red = offline. There is no requirement on an external library, all checking is done internally. Another syntax option (''%%{{linksenhanced>}}%%'') displays the link overview status on any wiki page. It can be limited to a given namespace(s) (attention: separate by semicolon!) by specifying the option ''%%{{linksenhanced>namespace=wiki;test}}%%''. ==== Example ==== [[render^https://www.dokuwiki.org| Euro Symbol]] This will render a Euro-Symbol using the fontawesome plugin. However, a paragraph will be added by DokuWiki. In order to prevent this, add ''noparagraph'': [[render noparagraph^https://www.dokuwiki.org| Euro Symbol w/o paragraph]] ==== Complete Options ==== ^ render | Trigger rendering as Wiki text | ^ noparagraph | Remove any paragraphs from the rendered wiki text | ^ class=css_class | Override the CSS class of the final link (only one class is allowed) | ^ target=_blank | Override the link target of the final link | ^ check | Do an AJAX-call to check the link availability | ==== Admin Component ==== The admin component can show an overview on the status of all external links in the wiki. Beware that this might take some time to load on large wiki and it creates a lot of request to your DokuWiki server (one per link!). ===== Limitations ===== * linksenhanced only supports xhtml output, no other renderer plugin is currently supported.